<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>求购二手车详细信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="css/usedcar.css">
	</head>

	<body>
		<div id="main">
			<form>
				<div class="w headline">
					<h1>
						${request.usedCarBuy.title}
					</h1>
					<div class="other">
						发布时间：
						<fmt:formatDate value="${request.usedCarBuy.releaseTime}"
							pattern="yyyy-MM-dd" />
						&nbsp;&nbsp;&nbsp;&nbsp;浏览
						<em id="totalcount">${request.usedCarBuy.browseNum}</em>次
					</div>
				</div>
				<div class="w">
					<ul class="info">
						<li>
							<i class="z"><nobr>
									预购价位：
								</nobr> </i>
							<c:choose>
								<c:when test="${request.usedCarBuy.money == 0}">1万元以内</c:when>
								<c:when test="${request.usedCarBuy.money == 1}">1-2万元</c:when>
								<c:when test="${request.usedCarBuy.money == 2}">2-3万元</c:when>
								<c:when test="${request.usedCarBuy.money == 3}">3-5万元</c:when>
								<c:when test="${request.usedCarBuy.money == 4}">5-8万元</c:when>
								<c:when test="${request.usedCarBuy.money == 5}">8-12万元</c:when>
								<c:when test="${request.usedCarBuy.money == 6}">12-18万元</c:when>
								<c:when test="${request.usedCarBuy.money == 7}">18-25万元</c:when>
								<c:when test="${request.usedCarBuy.money == 8}">25-40万元</c:when>
								<c:when test="${request.usedCarBuy.money == 9}">40万元以上</c:when>
							</c:choose>
						</li>
						<li>
							<i class="z"><nobr>
									排量要求：
								</nobr> </i>
							<c:choose>
								<c:when test="${request.usedCarBuy.dispalcementSize == 0}">1.0升以下</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 1}">1.0-1.6升</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 2}">1.6-2.2升</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 3}">2.2-2.8升</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 4}">2.8-4.0升</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 5}">4.0升以上</c:when>
							</c:choose>
						</li>
						<li>
							<i class="z"><nobr>
									变速器：
								</nobr> </i>
							<c:choose>
								<c:when test="${request.usedCarBuy.gearbox == 0}">手动</c:when>
								<c:when test="${request.usedCarBuy.gearbox == 1}">全自动</c:when>
								<c:when test="${request.usedCarBuy.gearbox == 2}">手自一体</c:when>
								<c:when test="${request.usedCarBuy.gearbox == 3}">CVT</c:when>
								<c:when test="${request.usedCarBuy.gearbox == 4}">不限</c:when>
							</c:choose>
						</li>
						<li>
							<i class="z"><nobr>
									行程要求：
								</nobr> </i>
							<c:choose>
								<c:when test="${request.usedCarBuy.dispalcementSize == 0}">1万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 1}">3万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 2}">5万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 3}">8万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 4}">10万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 5}">15万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 6}">20万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 7}">25万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 8}">30万公里以内</c:when>
								<c:when test="${request.usedCarBuy.dispalcementSize == 9}">不限</c:when>
							</c:choose>
						</li>

					</ul>
					<div class="user">
						<ul class="info">
							<li>
								<i class="z"><nobr>
										联系人：
									</nobr> </i><font color="red" size="4">${request.usedCarBuy.name}</font>
							</li>
							<li>
								<i class="z"> <nobr>
										联系电话：
									</nobr> </i>
								<span class="phone"><em id="totalcount">${request.usedCarBuy.telephone }</em></span>
							</li>
							<li>
								<i class="z"></i><span class="f12"><a target="_blank"
									href="">查看此电话发帖记录</a> </span>
							</li>
						</ul>
					</div>
				</div>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<div class="w content">
					<div class="conleft">
						<div class="maincon">
							${request.usedCarBuy.content }
						</div>
						<p>
							联系我时，请说是在乐软汽后网上看到的，谢谢！
						</p>
					</div>
				</div>
			</form>
		</div>
	</body>
</html>
